﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace VM.Entity.EntityMap.User
{
    public class sys_user
    {
        public sys_user()
        { }
        #region Model
        private int _id;
        private string _code;
        private string _name;
        private string _phone;
        private string _pwd;
        private string _guid;
        private int? _billstatus;
        private int? _orgid;
        private string _orgids;
        private string _theme;
        private string _headerimgurl;
        private int? _onlionstatus;
        private int? _createuserid;
        private DateTime? _createdate;
        private int? _updateuserid;
        private DateTime? _updatedate;
        private int? _tableid;
        private string _signature;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 编码
        /// </summary>
        public string code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string pwd
        {
            set { _pwd = value; }
            get { return _pwd; }
        }
        /// <summary>
        /// GUID
        /// </summary>
        public string GUID
        {
            set { _guid = value; }
            get { return _guid; }
        }
        /// <summary>
        /// 用户状态  1创建  2审核 3禁用 
        /// </summary>
        public int? billStatus
        {
            set { _billstatus = value; }
            get { return _billstatus; }
        }
        /// <summary>
        /// 组织内码
        /// </summary>
        public int? orgId
        {
            set { _orgid = value; }
            get { return _orgid; }
        }
        /// <summary>
        /// 管理组织内码
        /// </summary>
        public string orgIds
        {
            set { _orgids = value; }
            get { return _orgids; }
        }
        /// <summary>
        /// 主题
        /// </summary>
        public string theme
        {
            set { _theme = value; }
            get { return _theme; }
        }
        /// <summary>
        /// 头像
        /// </summary>
        public string headerImgUrl
        {
            set { _headerimgurl = value; }
            get { return _headerimgurl; }
        }
        /// <summary>
        /// 在线状态  0 不在线 1在线
        /// </summary>
        public int? onlionStatus
        {
            set { _onlionstatus = value; }
            get { return _onlionstatus; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? createUserId
        {
            set { _createuserid = value; }
            get { return _createuserid; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? createDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 更新人
        /// </summary>
        public int? updateUserId
        {
            set { _updateuserid = value; }
            get { return _updateuserid; }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? updateDate
        {
            set { _updatedate = value; }
            get { return _updatedate; }
        }
        /// <summary>
        /// 单据内码
        /// </summary>
        public int? tableId
        {
            set { _tableid = value; }
            get { return _tableid; }
        }
        /// <summary>
        /// 个性签名
        /// </summary>
        public string signature
        {
            set { _signature = value; }
            get { return _signature; }
        }
        #endregion Model

    }
}
